home *** CD-ROM | disk | FTP | other *** search
/ Your Mobile: Alcatel / Alcatel 2005.iso / Create Animation / setup.exe / setup.msi / Data1.cab / WizardAnim.swf12 / scripts / DefineSprite_6 / frame_1 / DoAction.as
Encoding:
Text File  |  2003-05-16  |  705 b   |  38 lines

  1. function press()
  2. {
  3.    gotoAndStop(2);
  4. }
  5. function select()
  6. {
  7.    _root.initRadio(_parent.group);
  8.    _parent.pnt.gotoAndStop(2);
  9.    _parent.updateVar();
  10. }
  11. function toggle(lock)
  12. {
  13.    if(lock == 1)
  14.    {
  15.       _parent.pnt.gotoAndStop(2);
  16.       set("_root._" + _parent._name,"All");
  17.       _root.locked = true;
  18.    }
  19.    if(_root.locked)
  20.    {
  21.       return undefined;
  22.    }
  23.    this.s = eval("_root._" + _parent._name);
  24.    hclp = eval("_root." + _parent._name + ".pnt");
  25.    trace(s);
  26.    if(this.s == "")
  27.    {
  28.       hclp.gotoAndStop(2);
  29.       set("_root._" + _parent._name,"All");
  30.    }
  31.    else
  32.    {
  33.       hclp.gotoAndStop(1);
  34.       set("_root._" + _parent._name,"");
  35.    }
  36. }
  37. stop();
  38.